package com.kavin.design.decorate;

/**
 * @author kavin
 * @Description 电话装饰抽象类
 * @create 2020/6/28
 **/
public class PhoneDecorate implements Phone{

    private Phone phone;


    PhoneDecorate(Phone p){
        this.phone = p;
    }

    @Override
    public void call() {
        this.phone.call();
    }
}
